<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">

  <title>MASK</title>
  <link rel="shortcut icon" href="/images/mask-logo.png">
  <!--  图标库-->
  <link rel="stylesheet" href="/css/plugins/all.min.css">
  <!--  adminlte主页核心css-->
  <link rel="stylesheet" href="/css/plugins/adminlte.min.css">
  <!--  sideBar边栏css-->
  <link rel="stylesheet" href="/css/plugins/OverlayScrollbars.min.css">

  <link rel="stylesheet" href="/css/plugins/select2.css">
  <link rel="stylesheet" href="/css/plugins/pagination.css">

  <!--  css主库-->
  <link rel="stylesheet" href="/css/main.css">

</head>
<body class="hold-transition sidebar-mini layout-fixed" >
<div class="wrapper">
  <!-- Preloader -->
  <div class="preloader flex-column justify-content-center align-items-center">
    <img class="animation__shake" src="/images/AdminLTELogo.png" alt="AdminLTELogo" height="60" width="60">
  </div>

  <!-- Navbar -->
  <nav class="main-header navbar navbar-expand navbar-top-bg">
    <!-- Left navbar links -->
    <ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
      </li>

    </ul>
    <a href="http://43.255.30.107" class="oldVersionButton btn btn-default">切换旧版</a>


    <!-- Right navbar links -->
    <ul class="navbar-nav ml-auto">
      <li>
        <a href="admin/login.html" class="btn">管理员入口</a>
      </li>
      <!-- Navbar Search -->
<!--      <li class="nav-item">-->
<!--        <a class="nav-link" data-widget="navbar-search" href="#" role="button">-->
<!--          <i class="fas fa-search"></i>-->
<!--        </a>-->
<!--        <div class="navbar-search-block">-->
<!--          <form class="form-inline">-->
<!--            <div class="input-group input-group-sm">-->
<!--              <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">-->
<!--              <div class="input-group-append">-->
<!--                <button class="btn btn-navbar" type="button">-->
<!--                  <i class="fas fa-search"></i>-->
<!--                </button>-->
<!--                <button class="btn btn-navbar" type="button" data-widget="navbar-search">-->
<!--                  <i class="fas fa-times"></i>-->
<!--                </button>-->
<!--              </div>-->
<!--            </div>-->
<!--          </form>-->
<!--        </div>-->
<!--      </li>-->

      <!-- Messages Dropdown Menu -->
      <li class="nav-item dropdown">
        <a class="nav-link" data-toggle="dropdown" href="#">
          <i class="far fa-comments"></i>
          <span class="badge badge-danger navbar-badge">3</span>
        </a>
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
          <a href="#" class="dropdown-item">
            <!-- Message Start -->
            <div class="media">
              <img src="/images/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle">
              <div class="media-body">
                <h3 class="dropdown-item-title">
                  Brad Diesel
                  <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span>
                </h3>
                <p class="text-sm">Call me whenever you can...</p>
                <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
              </div>
            </div>
            <!-- Message End -->
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <!-- Message Start -->
            <div class="media">
              <img src="/images/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
              <div class="media-body">
                <h3 class="dropdown-item-title">
                  John Pierce
                  <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span>
                </h3>
                <p class="text-sm">I got your message bro</p>
                <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
              </div>
            </div>
            <!-- Message End -->
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <!-- Message Start -->
            <div class="media">
              <img src="/images/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
              <div class="media-body">
                <h3 class="dropdown-item-title">
                  Nora Silvester
                  <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span>
                </h3>
                <p class="text-sm">The subject goes here</p>
                <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
              </div>
            </div>
            <!-- Message End -->
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
        </div>
      </li>
      <!-- Notifications Dropdown Menu -->
      <li class="nav-item dropdown">
        <a class="nav-link" data-toggle="dropdown" href="#">
          <i class="far fa-bell"></i>
          <span class="badge badge-warning navbar-badge">15</span>
        </a>
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
          <span class="dropdown-item dropdown-header">15 Notifications</span>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <i class="fas fa-envelope mr-2"></i> 4 new messages
            <span class="float-right text-muted text-sm">3 mins</span>
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <i class="fas fa-users mr-2"></i> 8 friend requests
            <span class="float-right text-muted text-sm">12 hours</span>
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <i class="fas fa-file mr-2"></i> 3 new reports
            <span class="float-right text-muted text-sm">2 days</span>
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
        </div>
      </li>
      <li class="nav-item">
        <a class="nav-link" data-widget="fullscreen" href="#" role="button">
          <i class="fas fa-expand-arrows-alt"></i>
        </a>
      </li>
      <li class="nav-item">
        <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
          <i class="fas fa-th-large"></i>
        </a>
      </li>
    </ul>
  </nav>
  <!-- /.navbar -->

  <!-- Main Sidebar Container -->
  <aside class="main-sidebar sidebar-dark-primary elevation-4">
    <!-- Brand Logo -->
    <a href="/" class="brand-link">
      <img src="/images/mask-logo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
      <span class="brand-text font-weight-light">MASK &nbsp;<sub>4.0</sub></span>
    </a>

    <!-- Sidebar -->
    <div class="sidebar">
      <!-- Sidebar user panel (optional) -->
      <div class="user-panel mt-3 pb-3 mb-3 d-flex">
        <div class="image">
          <img src="/images/notLogin.png" class="img-circle elevation-2" id="notLoginImage" alt="User Image">
        </div>
        <div class="info">
          <a href="#" class="d-block" id="login">登录/注册</a>
          <a href="#" id="alreadyLogin" class="newLoginNick"></a>
          <a href="#" id="logout"></a>
        </div>
      </div>



      <!-- Sidebar Menu -->
      <nav class="mt-2">
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
          <!-- Add icons to the links using the .nav-icon class
               with font-awesome or any other icon font library -->
          <li class="nav-item menu-open">
            <a href="#" class="nav-link active">
              <i class="nav-icon fas fa-tachometer-alt"></i>
              <p>
                Dashboard
                <i class="right fas fa-angle-left"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <!--              <li class="nav-item">-->
              <!--                <a href="./index.html" class="nav-link active">-->
              <!--                  <i class="far fa-circle nav-icon"></i>-->
              <!--                  <p>Dashboard v1</p>-->
              <!--                </a>-->
              <!--              </li>-->
              <li class="nav-item">
                <a href="./fileList.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>文件列表</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="#" onclick="toPersonCenter()" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>个人中心</p>
                </a>
              </li>
            </ul>
          </li>

        </ul>
      </nav>
      <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
  </aside>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <!-- /.content-header -->
    <!-- Main content -->
    <section class="content">
      <br>
<!--      文件搜索框-->
      <div class="input-group file-search">
        <input type="input" class="form-control form-control-lg" id="keyword" placeholder="输入搜索文件关键词">
        <div class="input-group-append">
          <button type="button" onclick="searchByKeyword()" class="btn btn-lg btn-default">
            <i class="fa fa-search"></i>
          </button>
        </div>
        <div class="file-upload-button">
          <button type="button" class="btn btn-block btn-success btn-lg" id="uploadFileButton">上传文件</button>
        </div>
      </div>

<!--      文件select条件筛选-->
      <div class="div-file-top">
        <span>文件分类：</span>
        <select class="form-control search-select-file-category fileCategory" onchange="searchByFileCategory()" id="searchByFileCategory">
          <option value="">请选择</option>

        </select>

        <div class="div-file">
          <span>文件所属者：</span>
          <select class="form-control search-select-file-category" id="consumerList" onchange="searchFileListByAuthor()">
            <option value="">请选择</option>

          </select>
        </div>

        <div class="div-file">
          <span>文件上传时间：</span>
          <input type="text" class="layui-input" id="file-date" name="file-date" placeholder="请选择时间" lay-key="2">

          <button type="button" class="btn btn-primary search-category-button" onclick="searchFileListByAllCondition()" id="search">查询</button>
        </div>
      </div>

<!--      文件列表-->
      <div class="card-body">
        <table class="table table-bordered table-hover file-table">
          <thead>
          <tr>
            <th>序号</th>
            <th>文件名</th>
            <th>所属分类</th>
            <th>上传者</th>
            <th>上传时间</th>
            <th>文件下载次数</th>
            <th>操作</th>
          </tr>
          </thead>
          <tbody id="file-tbody">
          </tbody>
          <tfoot>
          <tr>
            <td colspan="7" class="expandable-body">
              <div id="Pagination" class="pagination show-pagination"><!-- 这里显示分页 --></div>
            </td>
          </tr>
          </tfoot>
        </table>
      </div>

    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
<!--  <footer class="main-footer">-->
<!--    <strong>Copyright &copy; 2014-2021 <a href="https://adminlte.io">AdminLTE.io</a>.</strong>-->
<!--    All rights reserved.-->
<!--    <div class="float-right d-none d-sm-inline-block">-->
<!--      <b>Version</b> 3.1.0-->
<!--    </div>-->
<!--  </footer>-->

  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Control sidebar content goes here -->
  </aside>
  </aside>
  <!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->

<!-- jQuery -->
<script src="/js/plugins/jquery.min.js"></script>
<script src="/js/plugins/bootstrap.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="/js/plugins/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
  $.widget.bridge('uibutton', $.ui.button)
</script>
<!-- Bootstrap 4 -->
<!--<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>-->
<!-- ChartJS -->
<script src="/js/plugins/Chart.min.js"></script>
<!-- Sparkline -->
<script src="/js/plugins/sparkline.js"></script>
<!-- JQVMap -->
<!--<script src="plugins/jqvmap/jquery.vmap.min.js"></script>-->
<!--<script src="plugins/jqvmap/maps/jquery.vmap.usa.js"></script>-->
<!-- jQuery Knob Chart -->
<script src="/js/plugins/jquery.knob.min.js"></script>
<!-- daterangepicker -->
<script src="/js/plugins/moment.min.js"></script>
<script src="/js/plugins/daterangepicker.js"></script>
<!-- Tempusdominus Bootstrap 4 -->
<script src="/js/plugins/tempusdominus-bootstrap-4.min.js"></script>
<!-- Summernote -->
<script src="/js/plugins/summernote-bs4.min.js"></script>
<!-- overlayScrollbars -->
<script src="/js/plugins/jquery.overlayScrollbars.min.js"></script>
<!-- AdminLTE App -->
<script src="/js/plugins/adminlte.js"></script>
<!-- AdminLTE for demo purposes -->
<!--<script src="dist/js/demo.js"></script>-->
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<!--<script src="dist/js/pages/dashboard.js"></script>-->

<script src="/js/plugins/jquery.timers-1.2.js" type="text/javascript"></script>
<script src="/js/plugins/select2.js" type="text/javascript"></script>
<script src="/js/plugins/laydate.js" type="text/javascript"></script>
<script src="/layer/layer.js" type="text/javascript"></script>
<script src="/js/plugins/angular.js" type="text/javascript"></script>
<script src="/js/plugins/jquery.pagination.js" type="text/javascript"></script>
<script src="/js/plugins/jquery.form.js" type="text/javascript"></script>
<script src="/js/register.js" type="text/javascript"></script>
<script src="/js/login.js" type="text/javascript"></script>
<script src="/js/fileList.js" type="text/javascript"></script>
<!--<script src="/js/personCenter.js" type="text/javascript"></script>-->

<!--      登录模态框-->
<div class="modal fade modal_position" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <img src="/images/mask-logo.png">
        <span class="modal-title modal-font-span">用户登录</span>
        <button class="close" type="button" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <div class="modal-body">
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-user"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="login_username" placeholder="请输入账户名">
          <p class="message-p" id="message_login_username"></p>
        </div>

        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-lock"></i></span>
          </div>
          <input type="password" class="form-control col-6" id="login_password" placeholder="请输入密码">
          <p class="message-p" id="message_login_password"></p>
        </div>

        <div>

          <input type="checkbox" id="rememberMe">记住我
          <a href="#" onclick="foreignPassword()" style="margin-left: 80px">忘记密码？</a>
          &nbsp;
          <!--          <input type="checkbox" id="autoLogin">自动登录-->

          <a href="" onclick="modalRegister()" data-toggle="modal" data-target="#registerModal" style="display: inline;margin-left: 60px">立即注册</a>
        </div>
      </div>
      <div class="modal-footer">
        <button class="btn btn-secondary" type="button" data-dismiss="modal">取消</button>
        <button class="btn btn-primary" onclick="login()" onkeypress="if (event.keyCode==13){login();}">登录</button>
      </div>
    </div>
  </div>
</div>

<!--注册模态框-->
<div class="modal fade modal_position" id="registerModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" style="margin-top: 40px;">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <img src="/images/mask-logo.png">
        <span class="modal-title modal-font-span">用户注册</span>
        <button class="close" type="button" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <div class="modal-body">
        <!--        注册input账户名-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-user"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="register_username" placeholder="此账户名用做登录">
          <p class="message-p" id="message_register_username"></p>
        </div>
        <!--        注册input密码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-lock"></i></span>
          </div>
          <input type="password" class="form-control col-6" id="register_password" placeholder="密码含字母数字8位组合" onKeyUp=pwStrength(this.value); onBlur=pwStrength(this.value)>
          <p class="message-p" id="message_register_password"></p>
          <!--          <span>密码强度</span>-->
          <table class="password-table" id="password_strong_level">
            <tr align="center" bgcolor="#f5f5f5" style="height:10px">
              <td id="strength_L" style="height: 10px">
                <span class="password-span">弱</span>
              </td>
              <td id="strength_M">
                <span class="password-span">中</span>
              </td>
              <td id="strength_H">
                <span class="password-span">强</span>
              </td>
            </tr>
          </table>
        </div>

        <!--        注册input确认密码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-lock"></i></span>
          </div>
          <input type="password" class="form-control col-6" placeholder="两次密码请确认一致" id="register_confirm_password">
          <p class="message-p" id="message_register_confirm_password"></p>
        </div>
        <!--        注册input昵称-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-smile"></i></span>
          </div>
          <input type="text" class="form-control col-6" placeholder="请输入账户昵称" id="register_nick">
          <p class="message-p" id="message_register_nick"></p>
        </div>
        <!--        注册input手机号-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-phone"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="register_phone" placeholder="请输入手机号">
          <p class="message-p" id="message_register_phone"></p>
        </div>
        <!--        手机验证码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-envelope"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="short_message_input" placeholder="6位数字验证码">
          <!--          <button type="button" class="btn btn-block btn-outline-success btn-lg btn-lg-phone-width" onclick="getPhoneMessage()">发送验证码</button>-->
          <button type="button" class="btn btn-confirm btn-control phone-in-input" onclick="getPhoneMessage()">发送验证码</button>
          <p class="message-p" id="message_register_short"></p>
          <p class="message-p-success" id="message_register_short_success"></p>
        </div>

      </div>
      <div class="modal-footer">
        <button class="btn btn-secondary" type="button" data-dismiss="modal">取消</button>
        <button class="btn btn-primary" onclick="register()">注册</button>
      </div>
    </div>
  </div>
</div>

<!--文件上传模态框-->
<div class="modal fade" id="uploadModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <img src="/images/mask-logo.png">
        <h5 class="modal-title modal-font-span">上传文件</h5>
        <button class="close" type="button" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
        <div class="modal-body">
          <form method="post" action="/upload" enctype="multipart/form-data" id="uploadForm">
            <div class="custom-file">
              <input type="file" class="file" id="icon">
              <!--            <input type="hidden" id="fileUploadAuthor">-->
            </div>

            <div class="div-margin-top">
              <span>文件分类：</span>
              <select class="form-control search-select-file-category fileCategory" id="categoryKey" name="selectKey">
                <option value="">请选择</option>

              </select>
            </div>

            <br>
            <div>
              <div>描述：</div>
              <textarea id="description" rows="5" cols="30" style="height: 90px;"></textarea>
            </div>
          </form>

          <!--进度条部分(默认隐藏)-->
          <div style="display: block;" class="progress-body">
            <div>
<!--              <span style="width: 100px; display: inline-block; text-align: right">上传进度：</span>-->
              <span style="width: 100px; display: inline-block; text-align: right"></span>
              <progress></progress>
              <percentage></percentage>
<!--              <percentage>0%</percentage>-->
            </div>
            <div>
<!--              <span style="width: 100px; display: inline-block; text-align: right">上传速度：</span>-->
              <span style="width: 100px; display: inline-block; text-align: right"></span>
<!--              <span style="width: 300px;" class="progress-speed">0 M/S, 0/0M</span>-->
              <span style="width: 300px;" class="progress-speed"></span>
            </div>
            <div>
              <span style="width: 100px; display: inline-block; text-align: right">上传状态：</span>
              <span style="width: 300px;" class="progress-info">请选择文件并点击上传文件按钮</span>
            </div>
          </div>
<!--          <div id="progressBar">-->
<!--            <div id="progress"></div>-->
<!--          </div>-->
<!--          <span id="proInfo" style="display: none">上传进度：0%</span>-->
        </div>
        <div class="modal-footer">
          <button class="btn btn-secondary" type="button" data-dismiss="modal">取消</button>
          <button class="btn btn-outline-success" id="uploadFormData" onclick="uploadFile()">上传</button>
        </div>
    </div>
  </div>
</div>



<!--用户修改密码模态框-->
<div class="modal fade modal_position" id="foreignPasswordModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" style="margin-top: 40px;">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <img src="/images/mask-logo.png">
        <span class="modal-title modal-font-span">用户修改密码</span>
        <button class="close" type="button" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <div class="modal-body">
        <!--        用户修改密码input账户名-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-user"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="foreign_username" placeholder="请输入账户名">
          <p class="message-p" id="message_foreign_username"></p>
        </div>
        <!--        用户修改密码input密码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-lock"></i></span>
          </div>
          <input type="password" class="form-control col-6" id="foreign_password" placeholder="密码含字母数字8位组合" onKeyUp=pwStrengthForeign(this.value); onBlur=pwStrengthForeign(this.value)>
          <p class="message-p" id="message_foreign_password"></p>
          <!--          <span>密码强度</span>-->
          <table class="password-table" id="foreign_password_strong_level">
            <tr align="center" bgcolor="#f5f5f5" style="height:10px">
              <td id="foreign_strength_L" style="height: 10px">
                <span class="password-span">弱</span>
              </td>
              <td id="foreign_strength_M">
                <span class="password-span">中</span>
              </td>
              <td id="foreign_strength_H">
                <span class="password-span">强</span>
              </td>
            </tr>
          </table>
        </div>

        <!--        用户修改密码input确认密码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-lock"></i></span>
          </div>
          <input type="password" class="form-control col-6" placeholder="两次密码请确认一致" id="foreign_confirm_password">
          <p class="message-p" id="message_foreign_confirm_password"></p>
        </div>

        <!--        用户修改密码input手机号-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-phone"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="foreign_phone" placeholder="请输入手机号">
          <p class="message-p" id="message_foreign_phone"></p>
        </div>
        <!--        用户修改密码手机验证码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-envelope"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="foreign_short_message_input" placeholder="6位数字验证码">
          <button type="button" class="btn btn-confirm btn-control foreign-phone-in-input" onclick="getPhoneMessageForeign()">发送验证码</button>
          <p class="message-p" id="foreign_message_short"></p>
          <p class="message-p-success" id="foreign_message_short_success"></p>
        </div>

      </div>
      <div class="modal-footer">
        <button class="btn btn-secondary" type="button" data-dismiss="modal">取消</button>
        <button class="btn btn-primary" onclick="updatePersonPassword()">更新密码</button>
      </div>
    </div>
  </div>
</div>

</body>
</html>
